package page.app.wallet;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.ExpectedConditions;

import basicTool.WaitTool;
import io.appium.java_client.AppiumDriver;
import page.app.AbstractAppPage;


public class PacketAndTicketDetailPage extends AbstractAppPage{
	@FindBy(xpath="//UIAStaticText[contains(@name,'详情')]|//android.widget.TextView[contains(@text,'详情')]")
	private WebElement packetAndTicketDetail;
	
	//@FindBy(xpath="//UIAStaticText[@name='优惠券详情']")
	//private WebElement ticketDetail;
	
	public PacketAndTicketDetailPage(AppiumDriver appiumDriver) {
        super(appiumDriver);
        WaitTool.waitFor(appiumDriver, ExpectedConditions.visibilityOf(packetAndTicketDetail), DefaultWaitElementTime4Page);
    }

}
